package cn.edu.zut.cs.DAO;

import cn.edu.zut.cs.Model.Vehicle;

import java.util.List;

public interface VehicleDAO {
    void insertVehicle(Vehicle vehicle);
    void insertAll(List<Vehicle> bookList);
    void deleteVehicle(Vehicle vehicle);
    void deleteAll(List<Vehicle> bookList);
    void deleteByNumber(String number);
    void modifyVehicle(Vehicle vehicle);
    Vehicle queryOneVehicle(Vehicle vehicle);
    List<Vehicle>queryAll();
}
